function exit(){
  jQuery.ajax({
    url: 'logout',
    method: 'get',
    headers: {
      'Authorization': localStorage.getItem("token")
    },
    success: function(result){
      alert('退出登录成功！');
      localStorage.removeItem('token');
      location.href = "home.html";
    }
  });
}